From 226b6a3e357c45bcfa48e2564ed7ef807a32e07d Mon Sep 17 00:00:00 2001 From: jacob berkman Date: Mon, 18 Mar 2002 23:08:38 +0000 Subject: [PATCH] set the correct min/max values for the ratio property (fixes #75331) 2002-03-18 jacob berkman * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the correct min/max values for the ratio property (fixes #75331) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkaspectframe.c | 2 +- 7 files changed, 31 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 823809230e..49a81ef3f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 823809230e..49a81ef3f1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 823809230e..49a81ef3f1 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 823809230e..49a81ef3f1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 823809230e..49a81ef3f1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 823809230e..49a81ef3f1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-03-18 jacob berkman + + * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the + correct min/max values for the ratio property (fixes #75331) + Mon Mar 18 11:55:03 2002 Owen Taylor * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index 87f56749c2..b0c58b1c73 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -120,7 +120,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class) g_param_spec_float ("ratio", _("Ratio"), _("Aspect ratio if obey_child is FALSE"), - 0.0, 1.0, 0.5, + MIN_RATIO, MAX_RATIO, 0.5, G_PARAM_READABLE | G_PARAM_WRITABLE )); g_object_class_install_property (gobject_class, PROP_OBEY_CHILD, -- 2.30.2